using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.ComponentModel;
using System.Drawing;

namespace Husb.WinForm.Controls
{
    [ToolboxItem(false)]
    public class DataGridViewDropDownColumn : DataGridViewComboBoxColumn
    {
        public DataGridViewDropDownColumn()
            : base()
        {
            CellTemplate = new DataGridViewDropDownCell();
        }
        [DefaultValue(ComboBoxStyle.DropDown)]
        public ComboBoxStyle DropDownStyle
        {
            get { return ((DataGridViewDropDownCell)CellTemplate).DropDownStyle; }
            set { ((DataGridViewDropDownCell)CellTemplate).DropDownStyle = value; }
        }
        [DefaultValue((string)null)]
        public string DisableMember
        {
            get { return ((DataGridViewDropDownCell)CellTemplate).DisableMember; }
            set { ((DataGridViewDropDownCell)CellTemplate).DisableMember = value; }
        }
        public Color DisableTextColor
        {
            get { return ((DataGridViewDropDownCell)CellTemplate).DisableTextColor; }
            set { ((DataGridViewDropDownCell)CellTemplate).DisableTextColor = value; }
        }


    }

}
